public enum CheckDigit extends java.lang.Enum<CheckDigit> implements IEnumType
| Enum Constant and Description |
|---|
NoCheckDigit |
ValidateandTransmit |
ValidateButDonotTransmit |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
toString() |
static CheckDigit |
valueOf(int code) |
static CheckDigit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CheckDigit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckDigit NoCheckDigit
public static final CheckDigit ValidateButDonotTransmit
public static final CheckDigit ValidateandTransmit
public static CheckDigit[] values()
for (CheckDigit c : CheckDigit.values()) System.out.println(c);
public static CheckDigit valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in interface IEnumTypetoString in class java.lang.Enum<CheckDigit>public static CheckDigit valueOf(int code)